package com.xxx.yuedong.community.controller.form;

import com.xxx.yuedong.community.pojo.Comment;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class CommentDetailForm implements Serializable {
    /**
     * 评论ID
     */
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 评论者的昵称
     */
    private String nickName;
    /**
     * 评论者的头像
     */
    private String avatar;
    /**
     * 动态ID
     */
    private Long dynamicId;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 回复评论的ID
     */
    private Long parentId;
    /**
     * 评论时间
     */
    private LocalDateTime createdTime;
    /**
     * 回复
     */
    private List<CommentDetailForm> replies;

}
